class Record {
  int? id;
  String? title;
  String? price;
  String? remark;
  String? time;
  String? expire;
  bool? isRemind;

  Record(
      {this.id,
        this.title,
        this.price,
        this.remark,
        this.time,
        this.expire,
        this.isRemind});

  Record.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    title = json['title'];
    price = json['price'];
    remark = json['remark'];
    time = json['time'];
    expire = json['expire'];
    isRemind = json['isRemind'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['title'] = this.title;
    data['price'] = this.price;
    data['remark'] = this.remark;
    data['time'] = this.time;
    data['expire'] = this.expire;
    data['isRemind'] = this.isRemind;
    return data;
  }
}

